package com.asset.dispoal.file.repayment.domain.service;

import com.asset.dispoal.file.repayment.api.FileRepaymentService;
import com.asset.dispoal.file.repayment.domain.service.common.SaveRepaymentInfoCommand;
import com.asset.dispoal.file.repayment.dto.SaveRepaymentInfoRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.mhuang.pacebox.springboot.protocol.Result;

/**
 * @description:
 * @author: yf
 * @date: 2022-09-29 16:11:09
 */
@Service
public class FileRepaymentServiceImpl implements FileRepaymentService {
    @Autowired
    private SaveRepaymentInfoCommand saveRepaymentInfoCommand;

    @Override
    public Result saveRepaymentInfo(SaveRepaymentInfoRequest request) {
        return saveRepaymentInfoCommand.execute(request);
    }
}
